from rest_framework import serializers
from recruit.models import City


class CityModelSerializer(serializers.ModelSerializer):
    """热门城市模块 模型类序列化器"""
    class Meta:
        model = City
        fields = '__all__'